package cn.wowjoy.pda.android_pharmacy.common.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by 84429 on 2017/3/22.
 */

public class DateUtils {

    public static String getCurrTime() {
        SimpleDateFormat sDateFormat = new SimpleDateFormat("HH:mm");
        return sDateFormat.format(new Date());
    }

    public static String getCurrFullTime() {
        SimpleDateFormat sDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return sDateFormat.format(new Date());
    }

    public static String getCurrFullDay() {
        SimpleDateFormat sDateFormat = new SimpleDateFormat("yyyy-MM-dd");
        return sDateFormat.format(new Date());
    }

    public static String getCurrDay() {
        SimpleDateFormat sDateFormat = new SimpleDateFormat("MM月dd日");
        return sDateFormat.format(new Date());
    }
}
